#include <iostream>
#include <sstream>
#include <string>
#include <map>
#include <QApplication>
#include <sstream>
#include <QtGui>

#include "PokerTool.h"

using namespace std;

string PokerTool::stringToChar(char *p)
{
	stringstream ss;
	string st;
	ss << p;
	ss >> st;
	return st;
}
/**
 * Conertir un int en string
 */
string PokerTool::intToString(int val)
{
	ostringstream oss;
    oss << val;
    return oss.str();
}
/**
 * Conertir un string en int
 */
int PokerTool::stringToInt(string st)
{
	int ret;
	istringstream iss(st);
	iss >> ret;
	return ret;
}
